<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>


<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="follow, index" />
<meta name="author" content="iune co." />
<meta name="description"
	content="IUNE有最好的库存管理SaaS软件。以更快更高的准确度，跟进实时数据的访问和库存移动。" />
<meta name="keywords"
	content="库存, 存货管理, 库存管理, 仓库管理, 云ERP, 云逸ERP, 中小型企业云ERP, SaaS ERP软件/系统" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>


<style type="text/css">
td {
	padding: 0px;
	width: 100px;
}

</style>

</head>
<body>



	<div class="container-fluid">

		<div class="row">
			<div class="col-sm-12 col-content">
			

			<h3>
				<button type="button" class="btn btn-default "
					data-ng-click="Model.goBack()">
					<span class="glyphicon glyphicon-arrow-left"></span> 返回
				</button>
				设置动作<small>用于授权使用。</small>
			</h3>
			<hr>

			</div>
		</div>
		
		
		<div class="row">
			<div class="col-sm-3 col-content">
			
				<div tree-view 
					tree-data="dataSysInfo" 
					checkbox-show="false"
					text-field="systemName" 
					value-field='fID' 
					parent-field='fParent'
					level-field='nodeLevel' 
					kind-field='nodeKind' 
					icon-expression="{'fa-cubes':row.systemKind.value=='app','fa-cube':row.systemKind.value=='fun','fa-list-alt':row.systemKind.value=='pag','fa-hdd-o':row.systemKind.value=='act'}"
					sub-height='150'
				>
				</div>
			</div>
			<div class="col-sm-9 col-content">
			
				<div data-ng-show="dataSysInfo.getValue('systemKind',dataSysInfo.getCurrentID())=='pag'">
					<nav class="nav">
						<ul class="pagination navbar-left" style="margin: 0px;">
							<li>
								<div class="btn-group" role="toolbar">
									<!-- Split button -->
									<div class="btn-group">
										<button type="button" class="btn btn-info "
											data-ng-disabled="!dataSysInfo.readonly()" data-ng-click="Model.add();">
											<span class="glyphicon glyphicon-plus"></span> 新建动作
										</button>
										  <button type="button" class="btn btn-info dropdown-toggle" 
											  data-ng-disabled="!dataSysInfo.readonly()"
											  data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
										    <span class="caret"></span>
										    <span class="sr-only">Toggle Dropdown</span>
										  </button>
										  <ul class="dropdown-menu">
										    <li><a href="" data-ng-click="Model.templateAdd('File')">
										    	<span class="glyphicon glyphicon-download-alt"></span> 由档案模板生成
										    </a></li>
										    <li role="separator" class="divider"></li>
										    <li><a href="" data-ng-click="Model.templateAdd('Bill')">
										    	<span class="glyphicon glyphicon-download-alt"></span> 由单据模板生成
										    </a></li>
										  </ul>
									</div>
									<!-- Split button结束 -->
								
									<button type="button" class="btn btn-default"
										data-ng-disabled="dataSysAction.currentIndex==null"
										data-ng-click="Model.edit()">
										<span class="glyphicon glyphicon-edit"></span> 修改
									</button>
									<button type="button" class="btn btn-default"
										data-ng-disabled="dataSysAction.currentIndex==null"
										data-ng-click="Model.triggerDeleteActionClick()"
										data-test="testvalue">
										<span class="glyphicon glyphicon-trash"></span> 删除
									</button>
									<button type="button" class="btn btn-default"
										data-ng-click="Model.refreshData()">
										<span class="glyphicon glyphicon-refresh"></span> 刷新
									</button>
								</div>
							</li>
						</ul>
					</nav>
					<div class="table-responsive">
						<table class="table table-hover">
							<thead>

								<tr>
									<td colspan="99">
										<div>


										</div>

									</td>
								</tr>

								<tr>
									<th></th>
									<th>#</th>
									<th><input type="checkbox" data-ng-model="checkboxValue" data-ng-click="Model.checkboxClick($event)"></th>
									<th hidden="true">启用</th>
									<th>名称</th>
									<th>代码</th>
									<th>描述</th>
								</tr>
							</thead>
							<tbody>
								<tr data-ng-show="row.userdata.recordState!='delete'"
									data-ng-class="{true:'active'}[dataSysAction.currentIndex==dataSysAction.rows.indexOf(row)]"
									data-ng-click="dataSysAction.onRowClick(row,$event)"
									data-ng-dblclick="dataSysAction.onRowDblclick(row,$event)" 
									data-ng-repeat="row in dataSysAction.rows">
									<td style="width: 10px;"><span data-ng-show="dataSysAction.currentIndex==dataSysAction.rows.indexOf(row)"
										class="glyphicon glyphicon-hand-right" aria-hidden="true"></span></td>
										
									<td style="width: 10px;">{{dataSysAction.rows.indexOf(row)+1}}<span></span></td>
									<td style="width: 50px;"><input type="checkbox" data-ng-model="row.userdata.checked"></td>
									<td style="width: 50px;" hidden="true"><span data-ng-show="row.sValidState.value==1" class="glyphicon glyphicon-ok" aria-hidden="true"></span></td>
									<td style="width: 100px;"><span data-ng-bind="row.actionName.value"></span></td>
									<td style="width: 100px;"><span data-ng-bind="row.actionCode.value"></span></td>
									<td style="width: 500px;"><span data-ng-bind="row.actionDescribe.value"></span></td>

								</tr>

							</tbody>

							<tfoot>
								<tr>
									<td colspan="99">

									</td>
								</tr>
							</tfoot>

						</table>
					</div>

				</div>			
			
			

			</div>

		</div>


	</div>





</body>

</html>

